﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;

public class NewBehaviourScript : MonoBehaviour {
    public Text tip;
	// Use this for initialization
	void Start () {
        InvokeRepeating("CountDown", 0, 30f);
	}

    void CountDown()
    {
        Debug.Log(Time.time);
        tip.text = System.DateTime.Now.ToLongTimeString();
    }
}
